//
// File:    loadprogdlg.h
// Brief:   测试程序载入对话框头文件
//
// History:
// ============================================================================
// 2011-01-20    Finux Chen <finuxchen@gmail.com>    创建
//
//
#ifndef LOADPROGDLG_H
#define LOADPROGDLG_H

#include <QDialog>
#include "ui_load.h"

class QTableView;
class QFileSystemModel;
class QModelIndex;
class QLabel;
class QPushButton;

class LoadProgDlg : public QDialog
{
    Q_OBJECT
public:
    explicit LoadProgDlg(QWidget *parent = 0);
	~LoadProgDlg();

	QString getFilePath(); 

public slots:
	void pathSelected(const QModelIndex &index);
	void dialogShouldReturn();

private:
	Ui_LoadForm ui;

    QTableView *view;
    QFileSystemModel *model;
	QLabel *fileLabel;
	QPushButton *okButton;
	QPushButton *cancelButton;
};

#endif // LOADPROGDLG_H
